1. /* scfcexp.cpp by K.Tsuru */
  2. // function ID = 9107
  3. /*************************************************
  4. SComplex class
  5. Let z = x+i*y.
  6. It returns exp(x+i*y) = exp(x)*{cos(y)+i*sin(y)}.
  7. **************************************************/
  8. #ifndef SN_H
  9. #include "sn.h"
  10. #endif
  11. SComplex Cexp(const SComplex& z){
  12. SDouble r = Exp(z.Real());
  13. return Cpolar(r, z.Imag());
  14. }

scfcexp.cpp : last modifiled at 2015/07/26 15:33:41(380 bytes)
created at 2017/10/06 15:21:28
The creation time of this html file is 2017/10/06 15:27:08 (Fri Oct 06 15:27:08 2017).